<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新增垃圾</title>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="background-color: transparent;">
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1><small>
                   新增垃圾
                </small></h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/detail/addDetail" method="post">
        <div class="form-group">
        <label>垃圾名称</label>
        <input type="text" name="d_name" class="form-control" required/>
        </div>
        <div class="form-group">
            <label >垃圾类别</label>
<%--            <input type="text" name="c_id" class="form-control"--%>
<%--                   placeholder="1是干垃圾，2是湿垃圾，3是可回收垃圾，4是有害垃圾" required>--%>
            <select name="c_id" class="form-control">
                <option value="1" selected>干垃圾</option>
                <option value="2">湿垃圾</option>
                <option value="3">可回收垃圾</option>
                <option value="4">有害垃圾</option>
            </select>
        </div>
<%--        <div class="form-group">--%>
<%--            <label>垃圾图片</label>--%>
<%--            <input type="text" name="d_pic" class="form-control" required>--%>
<%--        </div>--%>
        <div class="form-group">
            <label>垃圾描述</label>
            <input type="text" name="d_detail" class="form-control" required/>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="添加"/>
        </div>

    </form>

</div>
</body>
</html>
